package com.roc.dao.diaodan;
/**
 * @author FengHaiTao
 * 
 */

import java.util.List;

import com.roc.dao.DaoException;
import com.roc.dao.IBaseDao;
import com.roc.pojo.AuditingItem;
import com.roc.pojo.DiaoDanBean;
import com.roc.pojo.SettingBean;

public interface IDiaoDanDao extends IBaseDao{
	
	//调单申请
	boolean diaodanApply(AuditingItem auditing,DiaoDanBean diaodan) throws DaoException;
	void frozenSetting(String settid) throws DaoException;
	
	//查询调单信息
	DiaoDanBean queryDiaoDanBean(String id) throws DaoException;
	
	void unfrozenSetting(String settid) throws DaoException;
	int queryblackcount(String merno)throws DaoException;
	
	List<DiaoDanBean> queryDiaodan() throws DaoException;
	void updatediaodan(DiaoDanBean diaodan)throws DaoException;
	
	//查询所有结算记录。
	List<SettingBean> querySettinglist(String merno)throws DaoException;
	//查询结算记录。
	SettingBean querySettlist(String settid)throws DaoException;
}
